#ifndef __PUBLIC__BASIC_TYPES_H__
#define __PUBLIC__BASIC_TYPES_H__

//#include <basic_types_swr/stdint/types.h>

//#include <stdlib.h>

//typedef bool bool_t;
#ifdef __cplusplus
	typedef bool bool_t;

#else
	typedef unsigned char bool_t;

#endif

typedef unsigned char uint8_t;
typedef signed char 			int8_t;
typedef unsigned short int uint16_t;
typedef short int 		int16_t;
typedef unsigned int uint32_t;
typedef int 		int32_t;

typedef unsigned long long int uint64_t;
typedef long long int 		int64_t;


typedef uint8_t byte_t;
typedef uint16_t word16_t;
typedef uint32_t word32_t;
typedef uint64_t word64_t;



#define	UINT8		uint8_t
#define	UINT16		uint16_t
#define UINT32		uint32_t
#define UINT64		uint64_t
#define	INT8		int8_t
#define	INT16		int16_t
#define	INT32		int32_t
#define	INT64		int64_t

#define BOOL		unsigned int

#ifndef TRUE
#define	TRUE		1
#endif
#ifndef FALSE
#define FALSE		0
#endif

#ifndef NULL
#define	NULL		0
#endif

/* TODO: This should be in arch/types */
#define BITS_PER_LONG 32



#endif // __PUBLIC__BASIC_TYPES_H__
